package guoanmaker.operator.business.service;

import java.util.List;
import java.util.Map;

import javax.servlet.http.HttpServletResponse;

import guoanmaker.operator.business.model.OperatorApprovalRecord;
import guoanmaker.operator.business.model.OperatorFinanceProjectRefuse;
import guoanmaker.operator.business.model.PersonalFinanceProject;
import guoanmaker.operator.business.model.PersonalFinanceProjectCopy;

public interface PersonalFinanceProjectServiceInterface {

	Map<String,Object> getFinanceProjectByAll(Integer sort,String name,Integer status,Integer page,Integer size);
	
	Map<String,Object> getFinanceProjectByStatus(Integer status,Integer page,Integer size);
	
	int importantLevelChange(String id,Integer importantLevel);
	
	Object getFinanceProjectById(String id,Integer status);
	
	Integer insertFinanceProjectRefuse(String operatorUserName,String typeName);
	
	Integer financeProjectAuditing(String pid,String operatorUserName,int approvalInfo,
			String financeProjectRefuse,String refuseContent);
	
	Integer updateFinanceProjectRefuse(String id,String operatorUserName,String typeName);
	
	Integer deleteFinanceProjectRefuse(String ids);
	
	Map<String,Object> selectFinanceProjectRefuseByName(String typeName,Integer page,Integer size);
	
	List<OperatorFinanceProjectRefuse> selectFinanceProjectRefuseList();
	
	void downloadFile(String urlstr,String fileName,HttpServletResponse response);
}
